package com.lxy.elasticsearch200.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * <p>
 * 学生实体
 * </p>
 *
 * @author Administrator
 * @since 2024/11/16
 */
@Document(indexName = "exam_student")
public class ExamStudent implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    @Field(name = "stu_name", type = FieldType.Text)
    private String stuName;

    @Field(name = "stu_no", type = FieldType.Text)
    private String stuNo;

    @Field(name = "id_card", type = FieldType.Text)
    private String idCard;

    @Field(name = "clazz_level", type = FieldType.Integer)
    private Integer clazzLevel;

    @Field(name = "clazz_no", type = FieldType.Integer)
    private Integer clazzNo;

    @Field(name = "clazz_name", type = FieldType.Keyword)
    private String clazzName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getClazzLevel() {
        return clazzLevel;
    }

    public void setClazzLevel(Integer clazzLevel) {
        this.clazzLevel = clazzLevel;
    }

    public Integer getClazzNo() {
        return clazzNo;
    }

    public void setClazzNo(Integer clazzNo) {
        this.clazzNo = clazzNo;
    }

    public String getClazzName() {
        return clazzName;
    }

    public void setClazzName(String clazzName) {
        this.clazzName = clazzName;
    }
}
